<block name="header">
    <if condition="$pageTitle || $quickLink || $quickForm">
    <div class="zui-pageHeader">
        <nav class="navbar">
            <!-- 导航头部 -->
            <notempty name="pageTitle">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">{$pageTitle}</a>
            </div>
            </notempty>
            <if condition="$quickForm || $quickLink"> <!-- 导航项目 -->
            <div class="collapse navbar-collapse navbar-collapse-example">
                <notempty name="quickForm">
                <form class="navbar-form navbar-left" data-toggle="ajaxform">
                    <volist name="quickForm.input" id="input">
                    <div class="form-group row">{$input}</div>
                    </volist>
                    <volist name="quickForm.button" id="btn"> {$btn} </volist>
                </form>
                </notempty>

                <notempty name="quickLink"> <!-- 右侧的导航项目 -->
                <ul class="nav navbar-nav navbar-right">
                    <volist name="quickLink" id="menu">
                    <if condition="$menu[sub]">
                    <li class="dropdown">
                        <a href="{$menu.title}" class="dropdown-toggle" data-toggle="dropdown">
                            {$menu.title}
                            <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu" role="menu">
                            <foreach name="menu.sub" item="sub">
                            <li class="{$sub.class}"><a href="{$sub.link}" data-toggle="ajaxload" data-target="currenttab">{$sub.title}</a></li>
                            </foreach>
                        </ul></li>
                    <else />
                    <li class="{$menu.class}">
                        <if condition="$menu[confirm]">
                        <a href="#" onclick="$.zui.alertmsg('confirm', '{$menu.confirm}', {okCall:function(){$(currenttab()).ajaxUrl('{$menu.link}');}})">{$menu.title}</a>
                        <else />
                        <a href="{$menu.link}" data-toggle="ajaxload" data-target="currenttab">{$menu.title}</a>
                        </if>
                    </li>
                    </if>
                    </volist>
                </ul>
                </notempty>
            </div>
            <!-- END .navbar-collapse --> </if>
        </nav>
    </div>
    </if>
</block>
<!-- /头部 -->

<!--主区-->
<div class="zui-pageContent">
    <block name="body"></block>
</div>

<block name="footer"></block>

<block name="script">
</block>